import {axios as http} from '../base/request.js'
export default {
  homeData(params){
    return http.get(`/api`,{params:params})
  },
  getRecordList(params){
    return http.get(`/api/getTodayRecords`,{params:params})
  },
  getDataList(params){
    return http.get(`/api/lst`,{params:params})
  },
  getDetail(params){
    return http.get(`/api/detail`,{params:params})
  },
  sendEmail(params){
    return http.get(`/api/email`,{params:params})
  },
  favorite(params){
    return http.get(`/api/favorite`,{params:params})
  },
  getFavoriteList(params){
    return http.get(`/api/favoriteLst`,{params:params})
  },


  showMemberType(params){
    return http.get(`/api/showMemberType`,{params:params})
  },
  buyMember(params){
    return http.post(`/api/buyMember`,params)
  },
  buyArticle(params){
    return http.post(`/api/buyArticle`,params)
  },
  queryOrder(params){
    return http.get(`/api/queryOrder`,{params:params})
  },
  exportFile(params){
    return http.get(`/api/exportFile`,{params:params,responseType:'blob'})
  },





}
